home *** CD-ROM | disk | FTP | other *** search
/ Aminet 31 / Aminet 31 (1999)(Schatztruhe)[!][Jun 1999].iso / Aminet / dev / gui / gtlayout.lha / Source / SMakefile < prev   
Makefile  |  1998-09-09  |  12KB  |  312 lines

  1. ##
  2. ##    GadTools layout toolkit
  3. ##
  4. ##    Copyright © 1993-1998 by Olaf `Olsen' Barthel
  5. ##        Freely distributable.
  6. ##
  7. ##    :ts=8
  8. ##
  9.  
  10. .c.o:
  11.     sc $< $(CFLAGS) cpu=$(CPU)
  12.     @ctags $< >tagfiles/$*.c
  13.  
  14. .c.ol:
  15.     sc $< $(CFLAGS) cpu=any define=LINK_LIB objname=$>.ol
  16.     @ctags $< >tagfiles/$*.c
  17.  
  18. .a.o:
  19.     asm -D -DCPU_$(CPU) -u $<
  20.  
  21. #############################################################################
  22. #
  23. # Program version and revision; must match the data in the bumprev file
  24. # as it's used to check in and freeze a release.
  25. #
  26. #############################################################################
  27.  
  28. VERSION =    45
  29. REVISION =    1
  30.  
  31. SYMBOLIC_NAME =    V$(VERSION)_$(REVISION)
  32.  
  33. ###############################################################################
  34.  
  35. #OPTIMIZE =    optimize optschedule nooptinlocal opttime
  36. OPTIMIZE =    optimize optschedule   optinlocal opttime
  37. GSTFILE =    gtlayout.gst
  38.  
  39. CPU =        68040
  40. #CPU =        ANY
  41.  
  42. DEBUG =        debug=line
  43.  
  44. #C_UTILITY =    utillib
  45. #L_UTILITY =    define __CXM33=__UCXM33 define __CXD33=__UCXD33 \
  46. #        define __CXM22=__UCXM22 define __CXD22=__UCXD22
  47.  
  48. ###############################################################################
  49.  
  50. CFLAGS =    data=faronly streq strmerge nostkchk nover memsize=huge params=r \
  51.         define=CPU_$(CPU) gst=$(GSTFILE) $(DEBUG) $(C_UTILITY) $(OPTIMIZE) \
  52.         ignore=306
  53. LFLAGS =    smallcode addsym noicons \
  54.         $(L_UTILITY)
  55.  
  56. ###############################################################################
  57.  
  58. LIBS =        lib:scnb.lib lib:amiga.lib lib:debug.lib
  59.  
  60. ###############################################################################
  61.  
  62. all:        tagfiles $(GSTFILE) gtlayout_libprotos.h gtlayout.library
  63. # gtlayout.lib
  64.  
  65. ###############################################################################
  66.  
  67. SOURCE =    Assert.c Assert.h \
  68.         gtlayout.h gtlayout_data.c \
  69.         gtlayout_data.h gtlayout_global.h gtlayout_includes.h \
  70.         gtlayout_internal.h gtlayout_lib.c gtlayout_libprotos.h \
  71.         gtlayout_includes.c LTP_AddGadgets.c \
  72.         LTP_AddHistory.c LTP_AdjustItemPosition.c LTP_AdjustMenuPosition.c \
  73.         LTP_Atol.c LTP_BackFillRoutine.c LTP_BitMap.c \
  74.         LTP_BlinkButton.c LTP_CheckGlyph.c LTP_Clone.c \
  75.         LTP_ConvertNum.c LTP_CorrectItemList.c LTP_CreateExtraObject.c \
  76.         LTP_CreateGadgets.c LTP_CreateMenuTagList.c LTP_CreateMenuTemplate.c \
  77.         LTP_CreateObjectNode.c LTP_DefaultEditRoutine.c LTP_DefaultHistoryHook.c \
  78.         LTP_Delay.c LTP_DeleteObjectNode.c LTP_DetermineSize.c \
  79.         LTP_Draw.c LTP_DrawBackFore.c LTP_DrawBox.c \
  80.         LTP_DrawGauge.c LTP_DrawGroup.c LTP_DrawIncrementer.c \
  81.         LTP_DrawPalette.c LTP_DrawPicker.c LTP_DrawPrevNext.c \
  82.         LTP_DrawTapeButton.c LTP_FillMenu.c LTP_Find.c \
  83.         LTP_FixExtraLabel.c LTP_GetCommandWidth.c \
  84.         LTP_GetDisplayClip.c LTP_GlyphSetup.c LTP_HandleHistory.c \
  85.         LTP_HexEditRoutine.c LTP_ImageClass.c LTP_InitIText.c \
  86.         LTP_LayoutGadgets.c LTP_LayoutGroup.c LTP_LayoutMenu.c \
  87.         LTP_LevelClass.c LTP_MakeItem.c \
  88.         LTP_MakeMenu.c LTP_Memory.c LTP_MoveToWindow.c \
  89.         LTP_NewMenu.c LTP_PasswordEditRoutine.c LTP_PlaceGroups.c \
  90.         LTP_PopupClass.c LTP_PrintBoxLine.c LTP_PrintLabel.c \
  91.         LTP_RenderArrow.c LTP_RenderCircle.c LTP_Rescale.c \
  92.         LTP_ResetGroups.c LTP_RPortAttrs.c LTP_SearchKeys.c \
  93.         LTP_SelectKeys.c LTP_ShrinkMenu.c LTP_SizeDimensions.c \
  94.         LTP_Spread.c LTP_SPrintf.c LTP_Storage.c \
  95.         LTP_TabClass.c LT_Activate.c LT_Build.c \
  96.         LT_CreateHandle.c LT_DeleteHandle.c LT_DisposeMenu.c \
  97.         LT_FindMenuCommand.c LT_GetAttributes.c \
  98.         LT_GetCode.c LT_GetMenuItem.c LT_HandleInput.c \
  99.         LT_IMsg.c LT_InitExit.c LT_LabelWidth.c \
  100.         LT_LayoutMenus.c LT_LevelWidth.c LT_LockWindow.c \
  101.         LT_MenuControlTagList.c LT_New.c LT_NewMenuTagList.c \
  102.         LT_NewMenuTemplate.c LT_PressButton.c LT_Rebuild.c \
  103.         LT_Refresh.c LT_SetAttributes.c LT_ShowWindow.c \
  104.         LT_UpdateStrings.c \
  105.         gtlayout_lib.sfd
  106.  
  107. OTHER =        SMakefile gtlayout.library_rev.h gtlayout.library_rev.i \
  108.         gtlayout.library_rev.rev gtlayout_libprotos.h.head \
  109.         gtlayout_libprotos.h.tail releasenotes
  110.  
  111. OBJS =        gtlayout_lib.o gtlayout_data.o \
  112.         LTP_AddGadgets.o LTP_AddHistory.o LTP_AdjustItemPosition.o \
  113.         LTP_AdjustMenuPosition.o LTP_Atol.o LTP_BackFillRoutine.o \
  114.         LTP_BitMap.o LTP_BlinkButton.o LTP_CheckGlyph.o \
  115.         LTP_Clone.o LTP_ConvertNum.o LTP_CorrectItemList.o \
  116.         LTP_CreateExtraObject.o LTP_CreateGadgets.o LTP_CreateMenuTagList.o \
  117.         LTP_CreateMenuTemplate.o LTP_CreateObjectNode.o LTP_DefaultEditRoutine.o \
  118.         LTP_DefaultHistoryHook.o LTP_Delay.o LTP_DeleteObjectNode.o \
  119.         LTP_DetermineSize.o LTP_Draw.o LTP_DrawBackFore.o \
  120.         LTP_DrawBox.o LTP_DrawGauge.o LTP_DrawGroup.o \
  121.         LTP_DrawIncrementer.o LTP_DrawPalette.o LTP_DrawPicker.o \
  122.         LTP_DrawPrevNext.o LTP_DrawTapeButton.o LTP_FillMenu.o \
  123.         LTP_Find.o LTP_FixExtraLabel.o  \
  124.         LTP_GetCommandWidth.o LTP_GetDisplayClip.o LTP_GlyphSetup.o \
  125.         LTP_HandleHistory.o LTP_HexEditRoutine.o LTP_ImageClass.o \
  126.         LTP_InitIText.o LTP_LayoutGadgets.o LTP_LayoutGroup.o \
  127.         LTP_LayoutMenu.o LTP_LevelClass.o \
  128.         LTP_MakeItem.o LTP_MakeMenu.o LTP_Memory.o \
  129.         LTP_MoveToWindow.o LTP_NewMenu.o LTP_PasswordEditRoutine.o \
  130.         LTP_PlaceGroups.o LTP_PopupClass.o LTP_PrintBoxLine.o \
  131.         LTP_PrintLabel.o LTP_RenderArrow.o LTP_RenderCircle.o \
  132.         LTP_Rescale.o LTP_ResetGroups.o LTP_RPortAttrs.o \
  133.         LTP_SearchKeys.o LTP_SelectKeys.o LTP_ShrinkMenu.o \
  134.         LTP_SizeDimensions.o LTP_Spread.o LTP_SPrintf.o \
  135.         LTP_Storage.o LTP_TabClass.o LT_Activate.o \
  136.         LT_Build.o LT_CreateHandle.o LT_DeleteHandle.o \
  137.         LT_DisposeMenu.o LT_FindMenuCommand.o \
  138.         LT_GetAttributes.o LT_GetCode.o LT_GetMenuItem.o \
  139.         LT_HandleInput.o LT_IMsg.o LT_InitExit.o \
  140.         LT_LabelWidth.o LT_LayoutMenus.o LT_LevelWidth.o \
  141.         LT_LockWindow.o LT_MenuControlTagList.o LT_New.o \
  142.         LT_NewMenuTagList.o LT_NewMenuTemplate.o LT_PressButton.o \
  143.         LT_Rebuild.o LT_Refresh.o LT_SetAttributes.o \
  144.         LT_ShowWindow.o LT_UpdateStrings.o
  145.  
  146. OBJS_LIB =    gtlayout_data.ol \
  147.         LTP_AddGadgets.ol LTP_AddHistory.ol LTP_AdjustItemPosition.ol \
  148.         LTP_AdjustMenuPosition.ol LTP_Atol.ol LTP_BackFillRoutine.ol \
  149.         LTP_BitMap.ol LTP_BlinkButton.ol LTP_CheckGlyph.ol \
  150.         LTP_Clone.ol LTP_ConvertNum.ol LTP_CorrectItemList.ol \
  151.         LTP_CreateExtraObject.ol LTP_CreateGadgets.ol LTP_CreateMenuTagList.ol \
  152.         LTP_CreateMenuTemplate.ol LTP_CreateObjectNode.ol LTP_DefaultEditRoutine.ol \
  153.         LTP_DefaultHistoryHook.ol LTP_Delay.ol LTP_DeleteObjectNode.ol \
  154.         LTP_DetermineSize.ol LTP_Draw.ol LTP_DrawBackFore.ol \
  155.         LTP_DrawBox.ol LTP_DrawGauge.ol LTP_DrawGroup.ol \
  156.         LTP_DrawIncrementer.ol LTP_DrawPalette.ol LTP_DrawPicker.ol \
  157.         LTP_DrawPrevNext.ol LTP_DrawTapeButton.ol LTP_FillMenu.ol \
  158.         LTP_Find.ol LTP_FixExtraLabel.ol  \
  159.         LTP_GetCommandWidth.ol LTP_GetDisplayClip.ol LTP_GlyphSetup.ol \
  160.         LTP_HandleHistory.ol LTP_HexEditRoutine.ol LTP_ImageClass.ol \
  161.         LTP_InitIText.ol LTP_LayoutGadgets.ol LTP_LayoutGroup.ol \
  162.         LTP_LayoutMenu.ol LTP_LevelClass.ol \
  163.         LTP_MakeItem.ol LTP_MakeMenu.ol LTP_Memory.ol \
  164.         LTP_MoveToWindow.ol LTP_NewMenu.ol LTP_PasswordEditRoutine.ol \
  165.         LTP_PlaceGroups.ol LTP_PopupClass.ol LTP_PrintBoxLine.ol \
  166.         LTP_PrintLabel.ol LTP_RenderArrow.ol LTP_RenderCircle.ol \
  167.         LTP_Rescale.ol LTP_ResetGroups.ol LTP_RPortAttrs.ol \
  168.         LTP_SearchKeys.ol LTP_SelectKeys.ol LTP_ShrinkMenu.ol \
  169.         LTP_SizeDimensions.ol LTP_Spread.ol LTP_SPrintf.ol \
  170.         LTP_Storage.ol LTP_TabClass.ol LT_Activate.ol \
  171.         LT_Build.ol LT_CreateHandle.ol LT_DeleteHandle.ol \
  172.         LT_DisposeMenu.ol LT_FindMenuCommand.ol \
  173.         LT_GetAttributes.ol LT_GetCode.ol LT_GetMenuItem.ol \
  174.         LT_HandleInput.ol LT_IMsg.ol LT_InitExit.ol \
  175.         LT_LabelWidth.ol LT_LayoutMenus.ol LT_LevelWidth.ol \
  176.         LT_LockWindow.ol LT_MenuControlTagList.ol LT_New.ol \
  177.         LT_NewMenuTagList.ol LT_NewMenuTemplate.ol LT_PressButton.ol \
  178.         LT_Rebuild.ol LT_Refresh.ol LT_SetAttributes.ol \
  179.         LT_ShowWindow.ol LT_UpdateStrings.ol
  180.  
  181. PROTOS =    gtlayout_lib.c \
  182.         LTP_AddGadgets.c LTP_AddHistory.c LTP_AdjustItemPosition.c \
  183.         LTP_AdjustMenuPosition.c LTP_Atol.c LTP_BackFillRoutine.c LTP_BitMap.c \
  184.         LTP_BlinkButton.c LTP_CheckGlyph.c LTP_Clone.c LTP_ConvertNum.c \
  185.         LTP_CorrectItemList.c LTP_CreateExtraObject.c LTP_CreateGadgets.c LTP_CreateMenuTagList.c \
  186.         LTP_CreateMenuTemplate.c LTP_CreateObjectNode.c LTP_DefaultEditRoutine.c LTP_DefaultHistoryHook.c \
  187.         LTP_Delay.c LTP_DeleteObjectNode.c LTP_DetermineSize.c LTP_Draw.c \
  188.         LTP